﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SQLH2ConfigTool
{
    public class CounterCollection : System.Collections.CollectionBase
    {

        public virtual void Add(Counter NewCounter)
        {
            //forward our Add method on to 
            //CollectionBase.IList.Add 
            this.List.Add(NewCounter);
        }

        //this is the indexer (readonly)
        public virtual Counter this[int Index]
        {

            get
            {
                //return the Widget at IList[Index]
                return (Counter)this.List[Index];
            }
        }
    }
}
